/**
 * <p>Title: City.java</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2009</p>
 * <p>Company: xunjie</p>
 * @author shenhao
 * @date 2010-3-9
 * @version 1.0
 */
package cn.haona.game.simb.object.geo;

import java.sql.Timestamp;
import java.util.HashMap;
import java.util.List;

import cn.haona.db.RelevanceBean;
import cn.haona.game.simb.object.Persistence;
import cn.haona.game.simb.object.PersistenceImpl;

/**
 * <p>
 * Title: City
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Company: xunjie
 * </p>
 * 
 * @author shenhao
 * @date 2010-3-9
 */
public class City extends GeoImpl {

	/**
	 * 
	 */
	public City() {
		// TODO Auto-generated constructor stub
	}

	/*
	 * (non-Javadoc) <p>Title: initPO</p> <p>Description: </p>
	 * 
	 * @see cn.haona.game.simb.Cell#initPO()
	 */

	public void initPO() {
		if (pO == null) {
			pO = new CityPO();
		}
	}

	/**
	 * 
	 * @author Administrator
	 * 
	 */
	public class CityPO extends PersistenceImpl {
		// 街区列表
		private List<StreetInCity> listStreet;

		public CityPO() {
			super();
		}

		// 得到主键名
		public String getPrimaryKeyName() {
			return "";
		}

		public boolean persisMe() {
			// TODO Auto-generated method stub
			return false;
		}

		public Long persisMeFirstTime() {
			// TODO Auto-generated method stub
			return -1L;
		}

		public Persistence updateMe() {
			// TODO Auto-generated method stub
			return null;
		}

		public boolean cacheMe() {
			// TODO Auto-generated method stub
			return false;
		}


		public long getID() {

			return id;
		}

		public void setID(long id) {
			this.id = id;
		}

		public List<StreetInCity> getListStreet() {
			return listStreet;
		}

		public void setListStreet(List<StreetInCity> listStreet) {
			this.listStreet = listStreet;
		}

		public Timestamp getAddedDate() {
			// TODO Auto-generated method stub
			return null;
		}

		public Integer getStatus() {
			// TODO Auto-generated method stub
			return 0;
		}

		public Timestamp getUpDateDate() {
			// TODO Auto-generated method stub
			return null;
		}

		public void setAddedDate(Timestamp date) {
			// TODO Auto-generated method stub

		}

		public void setStatus(Integer status) {
			// TODO Auto-generated method stub

		}

		public void setUpDateDate(Timestamp date) {
			// TODO Auto-generated method stub

		}

		public HashMap<String, RelevanceBean> getReflectRelevance() {
			// TODO Auto-generated method stub
			return null;
		}

	}

}
